projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644d31a
)
* w32fns.c (get_wm_chars): Increment counter, not pointer.
author
Juanma Barranquero
<lekktu@gmail.com>
Mon, 12 Oct 2015 04:55:02 +0000
(06:55 +0200)
committer
Juanma Barranquero
<lekktu@gmail.com>
Mon, 12 Oct 2015 04:55:02 +0000
(06:55 +0200)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 99fd3ba33fdd2411a35cb4d0567bb834bcdf1afe..9b0770a99e89ba423f902f6c82771d7018aa9483 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-2917,7
+2917,7
@@
get_wm_chars (HWND aWnd, int *buf, int buflen, int ignore_ctrl, int ctrl,
/* Non-character payload in a WM_CHAR
(Ctrl-something pressed, see above). Ignore, and report. */
if (ctrl_cnt)
-
*ctrl_cnt
++;
+
(*ctrl_cnt)
++;
continue;
}
/* Traditionally, Emacs would ignore the character payload of VK_NUMPAD*